<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<div class="top_bar">        
	<div class="user_bar">
		<c:if test="${pageContext.request.userPrincipal != null}">
			<div class="user_email">${pageContext.request.userPrincipal.name}</div> &nbsp;|&nbsp;
			<a href="<c:url value="/logout"/>" class="user_exit">Logout</a>
		</c:if>
		
		<c:if test="${pageContext.request.userPrincipal == null}">
			<a href="<c:url value="/login.html"/>" class="user_settings">Login</a> &nbsp;|&nbsp;
		</c:if>
	</div>
</div>
           
<div id="header">        		
	<div id="logo">
		<a href="index.html"><img src="images/logo_ad.png" alt="" title="" border="0" /></a>
	</div>
</div>

<div id="loading">Loading ...</div>

<div id="main_bar">
		
</div>
